package com.example.demo.designpattern设计模式.behavioral行为型.chainofresponsibility责任链模式.二次手撕;

public class HandlerA extends Handler {

    @Override
    public void handler() {
        boolean handled = false;

        if (!handled && successor != null){
            successor.handler();
        }
    }
}
